package commonClass.sort;

public class SortCommon {
	/**
	 * 打印数组
	 * 
	 * @param src
	 *            待输出数组
	 * @return
	 */
	public static String printResult(int src[]) {
		StringBuffer sb = new StringBuffer();
		for (int i = 0; i < src.length; i++) {
			if (i == src.length - 1) {
				sb.append(src[i]);
			} else {
				sb.append(src[i] + ",");
			}
		}
		return sb.toString();
	}

}
